import request from '@/utils/request'

// 查询交货列表
export function plannerList(query) {
  return request({
    url: '/planner/plannerList',
    method: 'post',
    params: query
  })
}
// 新增交货列表
export function addList(data) {
  return request({
    url: '/planner/addList',
    method: 'post',
    data: data
  })
}
// 查询运输方式代码详细
export function plannerIds(data) {
  return request({
    url: '/planner/plannerId/' + data,
    method: 'get',
    data: data
  })
}
// 修改运输方式代码
export function edit(data) {
  return request({
    url: '/planner/edit',
    method: 'post',
    data: data
  })
}
// 删除交货列表
export function plannerDelete(ids) {
  return request({
    url: '/planner/remove/' + ids,
    method: 'post'
  })
}
